package celiasoft.itasalib.structures;

import java.util.Date;

public class MyItasaEpisode extends DataElement {
	
	
	/* extra */
	private ShowExtraData _extra;
	public MyItasaEpisode(int showId, String showName) {
		super(showId,showName);
		this._extra = new ShowExtraData();
	}

	
	public MyItasaEpisode(int showId) {
		this(showId, null);
	}

	public String getShowName(){
		return this.getName();
	}
	
	public int getShowId(){
		return this.getId();
	}

	/* EXTRA */
	public void setExtraShowData(ShowExtraData extra){
		this._extra = extra;
	}
	
	public ShowExtraData getExtraData(){
		return this._extra;
	}
	
	
	/**
	 * @return the country
	 */
	public String getCountry() {
		return this._extra.getCountry();
	}

	/**
	 * @return the network
	 */
	public String getNetwork() {
		return this._extra.getNetwork();
	}

	/**
	 * @return the runtime
	 */
	public int getRuntime() {
		return this._extra.getRuntime();
	}

	/**
	 * @return the air date 
	 */
	public Date getDate() {
		return this._extra.getNextEpDate();
	}

	/**
	 * @return the airtime
	 */
	public Date getAirtime() {
		return this._extra.getAirtime();
	}

	/**
	 * @return the episode data
	 */
	public EpisodeData getEpisodeData() {
		return this._extra.getNextEpNum();
	}


	/**
	 * @return the episode title
	 */
	public String getTitle(){
		return this._extra.getNextEpTitle();
	}
	
}
